]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
messageTray: Remove unused method parameter
authorRui Matos <tiagomatos@gmail.com>
Thu, 14 Jun 2012 17:46:21 +0000 (19:46 +0200)
committerRui Matos <tiagomatos@gmail.com>
Fri, 6 Jul 2012 14:03:49 +0000 (16:03 +0200)
The alignment of the arrow tip regarding the source actor is set with
setSourceAlignment() and its default is already 0.5 .

https://bugzilla.gnome.org/show_bug.cgi?id=678164

js/ui/messageTray.js

index f0b343e7a75b35db3a46f7e29d49d8fe4cd381cb..51d4be35ec886ff1fac1f979f2e1173d2770855f 100644 (file)
@@ -2490,11 +2490,10 @@ const MessageTray = new Lang.Class({
     },
 
     _adjustSummaryBoxPointerPosition: function() {
-        // The position of the arrow origin should be the same as center of this._clickedSummaryItem.actor
         if (!this._clickedSummaryItem)
             return;
 
-        this._summaryBoxPointer.setPosition(this._clickedSummaryItem.actor, 0, 0.5);
+        this._summaryBoxPointer.setPosition(this._clickedSummaryItem.actor, 0);
     },
 
     _unsetClickedSummaryItem: function() {